/* Banner容器 */
.banner-container {
    position: relative;
    max-width: 1600px;
    margin: 60px auto 0;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 加载状态 */
.banner-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    z-index: 10;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid #ff4400;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 轮播项 */
.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*object-position: top;*/
}

/* 控制器样式 */
.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 2;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,68,0,0.8);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.pagination {
    display: flex;
    gap: 8px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-dot.active {
    background: #ff4400;
    transform: scale(1.2);
}